home *** CD-ROM | disk | FTP | other *** search
/ EnigmA Amiga Run 1998 July / EnigmA AMIGA RUN 29 (1998)(G.R. Edizioni)(IT)[!][issue 1998-07 & 08].iso / earcd / utils / vinced / include / requester.h < prev    next >
C/C++ Source or Header  |  1997-07-29  |  3KB  |  63 lines

  1. #ifndef VNC_REQUESTER_H
  2. #define VNC_REQUESTER_H
  3. /*********************************************************
  4.  ** ViNCEd                                              **
  5.  ** a DOS - window handler                              **
  6.  **                                                     **
  7.  ** © 1991-97 THOR-Software inc.                        **
  8.  ** Version 3.30                                        **
  9.  **                                                     **
  10.  ** program version 1.23 05/03/91       THOR            **
  11.  ** update  version 1.25 06/19/91       THOR            **
  12.  ** header file 06/19/91                THOR            **
  13.  ** updated to 3.30      03/31/97       THOR            **
  14.  **                                                     **
  15.  ** ViNCEd Standard Requesters                          **
  16.  **-----------------------------------------------------**
  17.  **                                                     **
  18.  ** all use at your own risk,etc.,etc.                  **
  19.  **                                                     **
  20.  ** Everything declared as "reserved" or                **
  21.  ** "not used" is NOT free for your use,                **
  22.  ** it will propably used in a later release.           **
  23.  ** All FREE entries are free for public                **
  24.  ** use and are, if not otherwise noticed,              **
  25.  ** initialized as ZERO                                 **
  26.  *********************************************************/
  27.  
  28. #ifndef EXEC_TYPES_H
  29. #include <exec/types.h>
  30. #endif
  31.  
  32. #ifndef INTUITION_INTUTION_H
  33. #include <intuition/intuition.h>
  34. #endif
  35.  
  36. /* This is a standard file requester. Either arp or asl (or reqtools)
  37.    requesters are used to display them. This works in all OS revisions. */
  38.  
  39. struct ViRequest {
  40.         char            *vreq_Hail;     /* title string */
  41.         char            *vreq_File;     /* file name */
  42.         char            *vreq_Dir;      /* directory name */
  43.         struct Window   *vreq_Window;   /* window to lock */
  44.         UWORD            vreq_Flags;    /* flags, see below */
  45.         ULONG            vreq_reserved; /* must be zero */
  46.         char            *vreq_Pattern;  /* pattern matching string */
  47. };
  48.  
  49. /* Split file name in file and directory, fill in dir automatically */
  50. #define VREQ_AUTOSPLIT_BIT      0
  51. #define VREQ_AUTOSPLIT_MASK     (1L<<0)
  52.  
  53. /* Split file in dir and pattern, clear file */
  54. #define VREQ_AUTOPAT_BIT        1
  55. #define VREQ_AUTOPAT_MASK       (1L<<1)
  56.  
  57. /* Join file and dir after requesting */
  58. #define VREQ_AUTOJOIN_BIT       2
  59. #define VREQ_AUTOJOIN_MASK      (1L<<2)
  60.  
  61. #endif
  62.  
  63.